Fix clipping of drawn pixbufs in the no-render case
authorAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 06:57:10 +0000 (08:57 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 08:37:18 +0000 (10:37 +0200)
commit0ad0646dafed805a1fb7d8bed37301c1248a7591
tree52b20a8538fa9acad26889addc64fe2f36c0f1f5
parent9e12297d692659b434feba491ddfc94a1632ee2b
Fix clipping of drawn pixbufs in the no-render case

The fallback pixbuf rendering case ends up calling gdk_draw_image() on the
destination drawable wrapper, which resets the previously set clip region.
So, we need to manually get the impl and draw on that directly.

This fixes bug 592752 where we don't clip pixbuf rendering on non-render
Xservers.
gdk/gdkdraw.c